projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d27362
)
gdk: offscreen window source drawable now is the root window
author
Benjamin Otte
<otte@redhat.com>
Wed, 25 Aug 2010 21:39:30 +0000
(23:39 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 26 Sep 2010 13:11:11 +0000
(15:11 +0200)
As the source drawable is only used for creating pixmaps these days, we
don't have to keep a real drawable around, but can just use the root
window.
gdk/gdkoffscreenwindow.c
patch
|
blob
|
history
diff --git
a/gdk/gdkoffscreenwindow.c
b/gdk/gdkoffscreenwindow.c
index f0f7664abc0e8104f5cb148c048cb3eed70b79ca..30df772522ab1310ac4cdb5ad9e60506128b94ef 100644
(file)
--- a/
gdk/gdkoffscreenwindow.c
+++ b/
gdk/gdkoffscreenwindow.c
@@
-183,7
+183,7
@@
gdk_offscreen_window_get_source_drawable (GdkDrawable *drawable)
{
GdkOffscreenWindow *offscreen = GDK_OFFSCREEN_WINDOW (drawable);
- return
_gdk_drawable_get_source_drawable (offscreen->pixmap
);
+ return
gdk_screen_get_root_window (offscreen->screen
);
}
static GdkScreen*